package com.hydl.power.service;

import com.github.pagehelper.PageInfo;
import com.hydl.power.pojo.Project;

import java.util.List;

public interface ProjectService {
    List<Project> queryProjectId(String cityId);

    List<Project> queryProjectAll(String token);

    int deleteProjectById(Integer id);

    int addProject(String cityId,String projectName,String longitudeLatitude,String latitudeLatitude,String createTableStatus,String createTemperatureDataTableStatus);

    int updateProject(String projectName,Integer id);

    Project queryProjectByProId(String projectId);

    Project queryProjectById(Integer id);

    List<Project> queryProjectByToken(String cityId,String token);

    PageInfo<Project> queryProjectLike(Integer pageNum, Integer pageSize, String text, String token);
    int selectCountByCityId(String cityId);
}
